<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="index.css">
    <script src="index.js"></script>
</head>

<body>
    <div id="banner">

    </div>
</body>
<script>
    var banner = document.getElementById('banner');
    createBanner(banner, [{
        imgUrl: 'images/1.jfif',
        link: 'https://www.baidu.com/'
    }, {
        imgUrl: 'images/2.jfif',
        link: 'https://www.baidu.com/'
    }, {
        imgUrl: 'images/3.jfif',
        link: 'https://www.baidu.com/'
    }, {
        imgUrl: 'images/4.jfif',
        link: 'https://www.baidu.com/'
    }])
</script>

</html>